#include<bits/stdc++.h>
using namespace std;
int main()
{
	freopen("pockets.in","r",stdin);
	freopen("pockets.out","w",stdout);
	puts("1");
	puts("-1");
	puts("2");
	puts("7");
	fclose(stdin);fclose(stdout);
	return 0;
}
